package command;

import lombok.ToString;
import lombok.extern.slf4j.Slf4j;

/**
 * @author zenghy
 **/
@Slf4j
@ToString
public class Stock {

    private String name = "ABC";
    private int quantity = 10;

    public void buy() {
        log.info("Stock buy ".concat(this.toString()));
    }

    public void sell() {
        log.info("Stock sell ".concat(this.toString()));
    }
}
